﻿using System.Windows.Forms;

namespace Peresvet_CMS.Extensions
{
	public static class ComboBoxEx
	{
		public static void Clear(this ComboBox comboBox)
		{
			if (comboBox != null)
			{
				comboBox.DataSource = null;
				comboBox.SelectedItem = null;
				comboBox.Text = string.Empty;
			}
		}
	}
}
